package com.woniuxy.driverschool.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Coach {
    private int coachId;
    private String coachName;
    private String coachIdCard;
    private String cellphone;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;
    private String address;
    private String coachGender;
    private int jobState;
    private String position;
    private String driverNum;
    private Date driverFirst;
    private String driveType;
    private String teachType;
    private String jobNum;
    private String jobLevel;

}
